<div class="sc_form_body">
    <form action="{:U('resetpass')}" id="form" class="layui-form layui-form-pane">
        <div class="layui-form-item">
            <label class="layui-form-label label-required">登录名</label>
            <div class="layui-input-block">
                <input type="text" value="{$adminInfo.username|default=''}" class="layui-input" readonly="" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label label-required">原密码</label>
            <div class="layui-input-block">
                <input type="password" name="old_password" placeholder="原密码" datatype="*6-18" nullmsg="请输入原密码!" errormsg="密码范围在6~18位之间!" class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label label-required">新密码</label>
            <div class="layui-input-block">
                <input type="password" name="password" placeholder="新密码" datatype="*6-18" nullmsg="请输入新密码!"  errormsg="密码范围在6~18位之间!" class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label label-required">确认密码</label>
            <div class="layui-input-block">
                <input type="password" placeholder="确认密码" datatype="*6-18" recheck="password" nullmsg="请确认新密码!" errormsg="两次密码不一致!" class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn sitecms_submit">保存</button>
            </div>
        </div>
    </form>
</div>
